<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:c="http://java.sun.com/jsp/jstl/core"
          xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">
      
<f:view contentType="text/html">

        <h:head>
                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
                <title><ui:insert name="title" /></title>
                
                <style type="text/css">
                	.container {
                		width: 1200px;
                		height: 800px;
                		margin: auto;
                		padding: 5px 10px 5px 10px;;
                		-moz-box-shadow: 2px 2px 5px #888, -2px -2px 5px #888;;
						-webkit-box-shadow: 2px 2px 5px #888, -2px -2px 5px #888;;
						box-shadow: 2px 2px 5px #888, -2px -2px 5px #888;;
                	}
                </style>
        </h:head>
        
        <h:body>
        	<!--progressbar-->
            <p:ajaxStatus onstart="statusDialog.show();" onsuccess="statusDialog.hide();" />
   
       		<p:dialog modal="true" style="font-size:12px;text-shadow:1px 1px 1px #333333;" widgetVar="statusDialog" header="Processing..."
           		draggable="true" closable="false">
           		<p:graphicImage value="/css/images/simpson.gif" />
       		</p:dialog>
       		
            <center><h1 style="color: #444444">Voting system</h1></center>
            
            <!--main container-->
        	<div class="container">
                <ui:insert name="body" />
            </div>
        </h:body>

</f:view>
</html>